<?php

namespace app\index\model;

use think\Model;

class Brand extends Model
{
    protected $table='brand';

    public function goods(){
        return $this->hasMany('Goods','brand_id','id');
    }
}
